<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/deliverer-homepage.css">
    <script src="../js/deliverer-homepage.js"></script>
    
</head>
<body> 
<div class="main-container">
    
    <div class="left">
        <h2>饿没了配送员版</h2>
    </div>
    <div class="middle">
        <ul class="main">
        
            <li class="set_li one"><a href="./deliverer-hp.html" target="iframe-name">首页</a></li>
            <li class="set_li two"><a href="./deliverer-search.html" target="iframe-name" >搜索</a></li>
            <li class="set_li three"><a href="./deliverver-delivelist.html" target="iframe-name">订单</a></li>
            <li class="set_li four"><a href="./deliverer-hp.html" target="iframe-name">配送状态</a></li>
            <li class="set_li five"><a href="./deliverer-setting.html" target="iframe-name">设置</a></li>
            <li class="set_li six"><a href="./deliverer-ai.html" target="iframe-name">客服</a></li>
        </ul>
    </div>
    <section class="right">
            <iframe class="content" src="./deliverer-hp.html" frameborder="0" name="iframe-name"></iframe>
</div>

<script>
    document.querySelector('.one').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.one').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
    document.querySelector('.two').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.two').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
    document.querySelector('.three').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.three').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
    document.querySelector('.four').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.four').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
    document.querySelector('.five').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.five').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
    document.querySelector('.six').addEventListener('mouseover',(e)=>{
    e.target.style.background = 'white'
    })
    
    document.querySelector('.six').addEventListener('mouseout',(e)=>{
        e.target.style.background = 'gainsboro'
    })
</script>
</body>

</html>